gradientColor

gradientColor
(
const scope ref HipColorStop[] colorStops
,
float t
)

Parameters

colorStops HipColorStop[]

A sorted array of color stops.

t float

What is the current T. Ranging from 0 to 1

Return Value

Type: HipColor

The lerped color in the stop.

Meta